import { request } from '@ruifox-cms/utils'

// 获取子系统列表
export function getSubAppList(params) {
  return request({
    url: '/provider/module/selectList',
    method: 'get',
    params
  })
}
// 获取文件列表
export function getFileList(params) {
  return request({
    url: '/file/sysFile/selectList',
    method: 'get',
    params
  })
}

// 系统初始化信息获取
export function getSiteInit() {
  return request({
    url: '/auth/setting/siteInit',
    method: 'get',
  })
}

// 登录页配置获取
export function selectIndexSettingByTitle(params) {
  return request({
    url: '/auth/indexSetting/selectByTitle',
    method: 'get',
    params
  })
}